# Contributor: VÖRÖSKŐI András <voroskoi@gmail.com>
# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=xfce4-pulseaudio-plugin
pkgver=0.4.8
pkgrel=0
pkgdesc="Xfce panel plugin for pulseaudio mixer control"
url="https://docs.xfce.org/panel-plugins/xfce4-pulseaudio-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev pulseaudio-dev libxfce4ui-dev dbus-dev exo-dev
	libnotify-dev keybinder3-dev"
options="!check" # Check is empty
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/${pkgver%.*}/xfce4-pulseaudio-plugin-$pkgver.tar.bz2"

build() {
	./configure \
	    --prefix=/usr \
	    --sysconfdir=/etc \
	    --libexecdir=/usr/lib \
	    --localstatedir=/var \
	    --disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
8f6f06a65295ff53bd18a32dc302b2d12fb722bcfacd549c79dbc88e8ab6890888f158ea02ce5a21b261fa681068d68f18eb076f1dc2cb9135b7fc1e77fa7ce8  xfce4-pulseaudio-plugin-0.4.8.tar.bz2
"
